﻿@model Props.AdminWeb.Models.BaseModel
<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="" />
    <meta name="author" content="" />
    <title>@Model.VendorTitle</title>
    <!-- Le styles -->
    <link href="@Url.Content("~/content/css/bootstrap.css")" rel="stylesheet" />
    <style type="text/css">
@*    body 
    {
        @if (!String.IsNullOrWhiteSpace(Model.BackgroundUrl))
        {
            <text>background-image: url(@(Model.BackgroundUrl.StartsWith("~/Content") ? Url.Content(Model.BackgroundUrl) : Model.BackgroundUrl));</text>
        }
        @if (!String.IsNullOrWhiteSpace(Model.BackgroundColor))
        {
            <text>background-color: @Model.BackgroundColor;</text>
        }
    }*@
    @if (IsSectionDefined("Styles"))
    {
        @RenderSection("Styles", false)
    }
    </style>
    <link href="@Url.Content("~/content/css/bootstrap-responsive.css")" rel="stylesheet" />
    <link href="@Url.Content("~/content/css/docs.css")" rel="stylesheet" />
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
        <script type="text/javascript" src="http://html5shim.googlecode.com/svn/trunk/html5.js")"></script>
    <![endif]-->
    <!-- Le fav and touch icons
    <link rel="shortcut icon" href="../assets/ico/favicon.ico" />
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png" />
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png" />
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png" />
    <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png" /> -->
    <!-- Le UserVoice widget -->
    <script type="text/javascript">
        var uvOptions = {};
        (function () {
            var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true;
            uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/gfHircSE5sWFnmw5vy8vw.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
        })();
    </script>
</head>
<body data-spy="scroll" data-target=".bs-docs-sidebar" >
    <div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container-fluid">
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span
                    class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
                </a><a class="brand" href="" id="navbar-vendor-title">
                    @(Request.IsAuthenticated ? Model.VendorTitle : "Props.net")<span class="hidden-phone"> - Consola de Administración</span></a>
                @if (Request.IsAuthenticated)
                {
                <div class="nav-collapse">
                    <ul class="nav">
                      <li><a href="@Url.Action("Index", "Home")">Inicio</a></li>
                      <li><a href="@Url.Action("Index", "Ads")">Mis Avisos</a></li>
                      <li><a href="@Url.Action("Index", "Profile")">Mis Datos</a></li>
                      <li><a href="@Url.Action("Index", "Design")">Diseño</a></li>
                      <li><a href="@Url.Action("LogOut", "Account")">Salir</a></li>
                    </ul>
                </div>
                }
                <!--/.nav-collapse -->
            </div>
        </div>
    </div>
    <div class="container-fluid">
        @RenderBody()
        <footer>
            <p>
                Inspired by Asterix &copy; 2012 - <a href="">Acerca de</a> - <a href="">Legal</a> - <a href="">Políticas de Privacidad</a></p>
        </footer>
    </div>
 
    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script type="text/javascript" src="@Url.Content("~/content/js/jquery.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-transition.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-affix.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-alert.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-modal.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-dropdown.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-scrollspy.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-tab.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-tooltip.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-popover.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-button.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-collapse.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-carousel.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/bootstrap-typeahead.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/content/js/app.js")"></script>
    @RenderSection("Scripts", false)
</body>
</html>
